You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Run Stryker across all unit test projects - #11223
Mutation testing currently covers only the ServerMode client sources. Stryker.NET 5 adds solution-mode support, which lets the repository exercise the production projects covered by the full unit-test suite in one coordinated run.
What changed
Upgrade the pinned dotnet-stryker tool from 4.16.0 to 5.0.0.
Add a dedicated MutationTesting.slnx containing all 13 unit-test projects and their eligible production dependencies.
Move the Stryker configuration to the repository root and exclude generated source files from mutation.
Configure mutation builds to use net8.0 test hosts, skip the unsupported UWP target, and preserve the required strong-name identities.
Update the daily mutation workflow, developer documentation, and mutation-test-improver instructions for solution-wide reports.
Upgrade to Stryker.NET 5 solution mode and cover the production projects exercised by all unit test projects.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
No new or modified test methods were identified in the changed regions of this PR. The changed files are all build/tooling infrastructure (Stryker mutation-testing configuration, workflow files, solution filter, docs) — no .cs test source files under test/ were modified. Nothing to review.
Re-run with /review-tests.
🤖 Automated content by GitHub Copilot. Generated by the Test Reviewer on PR (on open / sync) workflow. · auto · 63.5 AIC · ⌖ 2.42 AIC · ⊞ 15.9K · [◷]( · ◷)
One or more custom setup steps configured for this repository failed during this Copilot code review run:
Build the repository
Setup steps run before each review. If the review above is missing context, or no review was posted at all, the failing step above may be the cause. See the workflow run for failure details, fix your setup steps configuration, and re-request a review.
Note
You can configure setup steps for Copilot code review separately from Copilot cloud agent with a copilot-code-review.yml file. Read the docs for details.
Allow fixes across all unit test projects and bound Stryker verification to the selected production project and source file.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
One or more custom setup steps configured for this repository failed during this Copilot code review run:
Build the repository
Setup steps run before each review. If the review above is missing context, or no review was posted at all, the failing step above may be the cause. See the workflow run for failure details, fix your setup steps configuration, and re-request a review.
Note
You can configure setup steps for Copilot code review separately from Copilot cloud agent with a copilot-code-review.yml file. Read the docs for details.
No new or modified test methods were identified in the changed regions of this PR (changes are limited to mutation-testing infrastructure: Stryker config/version bump, workflow files, Directory.Build.targets, and docs — no .cs test files were modified). Nothing to review.
Re-run with /review-tests.
🤖 Automated content by GitHub Copilot. Generated by the Test Reviewer on PR (on open / sync) workflow. · auto · 41.7 AIC · ⌖ 2.4 AIC · ⊞ 15.9K · [◷]( · ◷)
Keep solution-mode mutation testing on Stryker 4.16.0, which is available from the repository's CI feeds.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
No new or modified test methods were identified in the changed regions of this PR. The changed files are mutation-testing tooling/config/docs (.config/dotnet-tools.json, MutationTesting.slnx, stryker-config.json, Directory.Build.props, test/Directory.Build.targets, workflow and doc files) with no .cs test source changes. Nothing to review.
Re-run with /review-tests.
🤖 Automated content by GitHub Copilot. Generated by the Test Reviewer on PR (on open / sync) workflow. · auto · 58.7 AIC · ⌖ 2.4 AIC · ⊞ 15.9K · [◷]( · ◷)
Keep Stryker.NET 5 in a dedicated manifest so normal repository builds restore only mirrored tools, while mutation workflows restore Stryker from nuget.org.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Summary — All 4 non-acceptance build legs (Linux Release, macOS Release, Windows Release, Windows Debug) fail identically during dotnet tool restore because the PR bumps dotnet-stryker to a version that does not exist on any of the configured NuGet feeds.
Root cause: dotnet-stryker 5.0.0 does not exist on the configured feeds
The PR changes .config/dotnet-tools.json to pin dotnet-stryker to version 5.0.0 (previously 4.16.0). The repo-tools restore step (Tools.proj → RestoreRepoTools → dotnet tool restore) fails on every build leg with:
Microsoft.DotNet.Cli.NuGetPackageDownloader.NuGetPackageNotFoundException: Version 5.0.0 of package dotnet-stryker is not found in NuGet feeds
https://pkgs.dev.azure.com/dnceng/public/_packaging/test-tools/nuget/v3/index.json;
https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json;
https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json;
https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-eng/nuget/v3/index.json;
https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet9/nuget/v3/index.json;
https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet10/nuget/v3/index.json;
https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet11/nuget/v3/index.json.
Because Tools.proj/Build.proj restore runs before any project compiles, this single failure cascades and fails the entire build (Build failed.) on every leg that reaches that step — it is not a compilation error in changed source, and no .cs/.csproj file is at fault.
Affected files / errors
.config/dotnet-tools.json — MSB3073: The command "".../dotnet" tool restore " exited with code 1 (Linux Release, macOS Release, Windows Release, Windows Debug legs)
Proposed fix
Note: the PR description states dotnet tool restore --no-cache succeeded locally and restored Stryker.NET 5.0.0 "from repository feeds." That is inconsistent with this CI run, where the exact same restore fails against the Azure DevOps public feeds (test-tools, dotnet-public, dotnet-tools, dotnet-eng, dotnet9/10/11). This points to an environment/feed-availability mismatch rather than a simple typo — e.g. the package may only be resolvable from a feed configured locally (a different NuGet.config, an authenticated/private feed, or a local package cache) but not from the public feeds this CI build restores from.
I have no network/NuGet access from this sandbox, so I cannot verify which feed actually hosts dotnet-stryker 5.0.0. Please confirm the version is published on a feed reachable by CI (e.g. nuget.org or the configured dotnet-tools/test-tools Azure DevOps feeds) before merging — see the inline suggestion for a safe fallback to the last known-good 4.16.0 if it is not yet available there.
No new or modified test methods were identified in the changed regions
of this PR. Nothing to review.
Re-run with /review-tests.
🤖 Automated content by GitHub Copilot. Generated by the Test Reviewer on PR (on open / sync) workflow. · auto · 48.2 AIC · ⌖ 2.35 AIC · ⊞ 15.9K · [◷]( · ◷)
No new or modified test methods were identified in the changed regions of this PR. The 11 changed files are all build/tooling configuration for Stryker mutation testing (.config/dotnet-tools.json, .config/stryker/*, .github/workflows/mutation-*, Directory.Build.props, MutationTesting.slnx, docs/dev-guide.md, stryker-config.json, test/Directory.Build.targets) — no test source (.cs) files with test methods were added or modified.
Re-run with /review-tests.
🤖 Automated content by GitHub Copilot. Generated by the Test Reviewer on PR (on open / sync) workflow. · auto · 53.1 AIC · ⌖ 2.36 AIC · ⊞ 15.9K · [◷]( · ◷)
Final test-triage resolution — Azure Pipelines build 1594162
This is the final (post-completion) test-triage analysis, superseding any earlier preliminary comment for this revision.
Test-product results: clean. Across all normalized CTRF/TRX/JUnit reports collected from this build (Linux Release, macOS Release, Windows Release, Windows Debug legs), every one of the 68,678 recorded test cases is passed (68,064) or skipped (614). There are zero failures, zero retries/flaky attempts, zero crash/hang diagnostics, and zero duration regressions meeting the slowness threshold.
Why the build still shows red: the failure is infrastructure-level on the Windows Release leg, not a test-product defect:
Merge coverage as Cobertura failed: "No coverage files were produced; every Windows Release run must publish coverage," causing PowerShell to exit with code 1.
The Test pipeline task itself then reported "Cmd.exe exited with code 1" as a consequence.
A related warning: "No test result files matching *.trx were found" during TRX publication for that leg.
This is a build/coverage-orchestration issue (missing coverage artifact production or publication ordering on Windows Release), which is outside this agent's scope — it belongs to Build Failure Analysis, not test triage.
Conclusion: No actionable test failure, flake, or regression to report. No issue is being created for the test-triage scope. Recommend investigating the Windows Release coverage-merge step separately.
🤖 Automated content by GitHub Copilot. Generated by the Pipeline Test Triage workflow. · auto · 72.8 AIC · ⌖ 2.66 AIC · ⊞ 8.9K
Avoid dotnet test ambiguity now that mutation testing adds a second root solution file.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
No new or modified test methods were identified in the changed regions
of this PR. All changed files are build/tooling infrastructure
(.config/dotnet-tools.json, Stryker configuration, Directory.Build.props/.targets, MutationTesting.slnx, workflow YAML, and docs) — no .cs test source files were
modified. Nothing to review.
Re-run with /review-tests.
🤖 Automated content by GitHub Copilot. Generated by the Test Reviewer on PR (on open / sync) workflow. · auto · 54.9 AIC · ⌖ 2.39 AIC · ⊞ 15.9K · [◷]( · ◷)
Nothing audited here touches process-global state, shared filesystem paths, or [ResourceLock] / [DoNotParallelize] declarations. Nothing to flag for
parallel-safety.
This PR changes only mutation-testing CI infrastructure (.github/workflows/mutation-testing.yml, .github/workflows/mutation-test-improver.*, stryker-config.json, MutationTesting.slnx, .config/stryker/*), Directory.Build.props, docs/dev-guide.md, and eng/pipelines/steps/test-windows-configuration-tests.yml. No .cs test files, no test lifecycle members, and no [ResourceLock] / [DoNotParallelize] / [Parallelize] declarations were added, removed, or modified.
The one test-tree file touched, test/Directory.Build.targets, only adds a net8.0 TFM restriction gated on $(MutationTesting)==true; it does not change MSTestParallelizeScope, MSTestParallelizeWorkers, or any .runsettings/testconfig.json parallelization setting, so no assembly's effective parallelization state changes as a result of this PR.
No test assembly required auditing for this PR (no changed tests, lifecycle members, or parallelization-state files).
The reason will be displayed to describe this comment to others. Learn more.
Copilot review overview
🔵 Needs a closer look
The PowerShell instructions leave repository-wide mutation settings enabled for subsequent builds.
Review tier: Balanced (auto) Findings: None
Note
Copilot is running an experiment and ran this review at Balanced.
Previously missed findings (1)
In code that hasn't changed since last review
Restore the mutation-testing environment variable
docs/dev-guide.md:176
Pop-Location restores only the working directory, so this PowerShell session keeps MutationTesting=true. With the new repository-wide conditions, every later build in that shell is then restricted to net8 test hosts, skips UWP, and open-signs nearly all assemblies. Preserve and restore the previous environment value in the example so running mutation tests does not silently alter subsequent builds.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Mutation testing currently covers only the ServerMode client sources. Stryker.NET 5 adds solution-mode support, which lets the repository exercise the production projects covered by the full unit-test suite in one coordinated run.
What changed
dotnet-strykertool from 4.16.0 to 5.0.0.MutationTesting.slnxcontaining all 13 unit-test projects and their eligible production dependencies.net8.0test hosts, skip the unsupported UWP target, and preserve the required strong-name identities.Validation
dotnet tool restore --no-cache: Stryker.NET 5.0.0 restored successfully from repository feeds.gh aw compile mutation-test-improver --strict: passed..\build.cmd -binaryLog: passed with 0 warnings and 0 errors.The complete repository-wide mutant execution was not run locally because of its cost; the scheduled workflow will produce the full report.